{include file="header.html"}
<script>
    $(function () {
        $("[id^='step_']").click(function () {
            var item = $(this).attr('item');
            var data = {
                "a_tid":"{$a_tid}",
                "d_value": item,
            };
            $.post("index.php?app=auth&act=setup_step", data, function (result) {
                if (result.done) {
                    parent.$("#taglist").colorbox.close();
                    parent.location.href=parent.window.location.href;
                }
                else {
                    alert(result.msg);
                }
            }, "json");

        });



    });

</script>
<div id="rightTop">
    <p>级别</p>
</div>

<div class="mrightTop">
    <div class="fontl">
        <form method="get">
            <div class="left">
                <input type="hidden" name="app" value="auth"/>
                <input type="hidden" name="act" value="setup_step"/>
                <input type="hidden" name="a_tid" value="{$a_tid}"/>
                名称:
                <input style="width: 200px;" class="queryInput" type="text" name="d_value"
                       value="{$smarty.get.d_value|escape}"/>
                <input type="submit" class="formbtn" value="{$lang.query}"/>
            </div>
        </form>
    </div>
    <div class="fontr">{include file=page.top.html}</div>
</div>
<div class="tdare">
    <table width="100%" cellspacing="0" class="dataTable">
        <!--{if $steps}-->
        <tr class="tatr1">
            <td width="20" class="firstCell"></td>
            <td>名称</td>
            <td class="handler">{$lang.handler}</td>
        </tr>
        <!--{/if}-->
        <!--{foreach from=$steps item=step}-->
        <tr class="tatr2">
            <td class="firstCell"></td>
            <td>{$step.d_value|escape}</td>

            <td class="handler">
      <span style="width: 100px;text-align: center;">
      <a id="step_{$step.d_key}" item="{$step.d_value|escape}" href="javascript:void(0)">设置</a>
       
      </span>
            </td>
        </tr>
        <!--{foreachelse}-->
        <tr class="no_data">
            <td colspan="10">{$lang.no_data}</td>
        </tr>
        <!--{/foreach}-->
    </table>
    <!--{if $steps}-->
    <div id="dataFuncs">
        <div id="batchAction" class="left paddingT15"> &nbsp;&nbsp;

        </div>
        <div class="pageLinks">{include file=page.bottom.html}</div>
        <div class="clear"></div>
    </div>
    <!--{/if}-->
</div>
{include file="footer.html"}